package MeHua;

import javax.swing.*;
import java.awt.*;

public class Beautify {
    public void MeHuaB(JButton button, int a, int b, int c, int d){
        Font font=new Font("楷体",Font.BOLD,d);
        button.setFont(font);
        button.setBackground(new Color(a,b,c));
    }
    public void MeHuaL(JLabel label, int a, int b, int c, int d, int e){
        Font font=new Font("楷体",Font.BOLD,a);
        label.setForeground(Color.cyan);
        label.setFont(font);
        label.setBounds(b,c,d,e);
    }
}
